package com.kk.app.render;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

/**
 * GLSurface渲染监听
 */
public interface ISurfaceRenderListener {
    void onSurfaceCreated(GL10 gl, EGLConfig config);

    void onSurfaceChanged(GL10 gl, int width, int height);

    void onDrawFrameBegin(GL10 gl);

    void onDrawFrame(GL10 gl);

    void onDrawFrameEnd(GL10 gl);
}
